import * as gateway from './gateway'
import * as user from './user'
import * as activity from './activity'
import * as cash from './cash'
import * as core from './core'
import * as message from './message'
import * as bank from './bank'
import * as other from './other'
import * as gupiao from './gupiao'
import Vue from 'vue'

// api返回结果，正确的状态
export const STATUS_OK = '000'

const api = {
  // api返回结果，正确的状态
  STATUS_OK: STATUS_OK,
  ...gateway,
  ...user,
  ...activity,
  ...cash,
  ...core,
  ...message,
  ...bank,
  ...gupiao,
  ...other
}

Vue.prototype.$api = api
export default api
